{% extends 'a_base.html' %}
{% block title %}
<title>标签云</title>
{% endblock %}
{% block content %}
<style>
body {background: gray;}
#div1 {position:relative; width:450px; height:450px; margin: 20px auto 0; }
#div1 a {position:absolute; top:0px; left:0px; font-family: Microsoft YaHei; color:#fff; font-weight:bold; text-decoration:none; padding: 3px 6px; }
#div1 a:hover {border: 1px solid #eee; background: #000; }
#div1 .blue {color:blue;}
#div1 .red {color:red;}
#div1 .yellow {color:yellow;}
#div1 p { font: 16px Microsoft YaHei; text-align: center; color: #ba0c0c; }
#div1 p a { font-size: 14px; color: #ba0c0c; }
#div1 p a:hover { color: red; }
#div1 p a:hover {color:red; }

</style>
<script type="text/javascript" src="/static/a_js/miaov.js"></script>
<div id="div1">
    {% for lab in lab_list %}
    <a href="{% url 'show:a_tag' %}?id={{lab.id}}">{{lab.name}}</a>
    {% endfor %}
</div>
{% endblock %}